//
//  UIView+Frame.h
//  TouchTV
//
//  Created by rhc on 16/9/14.
//  Copyright © 2016年 AceWei. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Layout)

@property (assign, nonatomic) CGFloat    top;
@property (assign, nonatomic) CGFloat    bottom;
@property (assign, nonatomic) CGFloat    left;
@property (assign, nonatomic) CGFloat    right;

@property (assign, nonatomic) CGFloat    x;
@property (assign, nonatomic) CGFloat    y;
@property (assign, nonatomic) CGPoint    origin;

@property (assign, nonatomic) CGFloat    centerX;
@property (assign, nonatomic) CGFloat    centerY;

@property (assign, nonatomic) CGFloat    width;
@property (assign, nonatomic) CGFloat    height;
@property (assign, nonatomic) CGSize    size;

@end


@interface UIView (SetLines)

//- (void)setBottomLineWithColor:(UIColor *)color;
//
//- (void)setTopLineWithColor:(UIColor *)color;
//
//- (void)setRightLineWithColor:(UIColor *)color;
//
//- (void)setLeftLineWithColor:(UIColor *)color;
//
//- (void)setBottomLineWithColor:(UIColor *)lineColor lineHeight:(CGFloat)lineHeight marginLeft:(CGFloat)marginLeft marginRight:(CGFloat)marginRight;
//
//- (void)setTopLineWithColor:(UIColor *)lineColor lineHeight:(CGFloat)lineHeight  marginLeft:(CGFloat)marginLeft marginRight:(CGFloat)marginRight;
@end
